package com.achievement.project.system.choose.domain;

import com.achievement.framework.aspectj.lang.annotation.Excel;
import com.achievement.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程管理对象 sys_course_choose
 *
 * @author zkai
 * @date 2021-04-27
 */
public class CourseChoose extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Integer courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String courseType;

    /** 学分 */
    @Excel(name = "学分")
    private String credit;

    @Excel(name = "学期")
    private String semester;

    //教师id
    private String teacherId;

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public void setCourseId(Integer courseId)
    {
        this.courseId = courseId;
    }

    public Integer getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseType(String courseType)
    {
        this.courseType = courseType;
    }

    public String getCourseType()
    {
        return courseType;
    }
    public void setCredit(String credit)
    {
        this.credit = credit;
    }

    public String getCredit()
    {
        return credit;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseType", getCourseType())
            .append("credit", getCredit())
            .toString();
    }
}
